import { createRouter, createWebHashHistory } from 'vue-router';
import HomeView from '../views/HomeView.vue';
import Login from '../views/Login.vue';
// import Code from '../views/Code.vue';
// import cv from '../views/cv.vue';
import cs from '../views/CodeSnippets.vue';

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'login',
      component: Login,
    },
    {
      path: '/home',
      name: 'home',
      component: HomeView,
    },
    // {
    //   path: '/code',
    //   name: 'code',
    //   component: Code,
    // },
    // {
    //   path: '/cv',
    //   name: 'cv',
    //   component: cv,
    // },
    {
      path: '/cs',
      name: 'cs',
      component: cs,
    },
  ],
});

export default router;
